
<%@ page import="edu.auctionmart.Feedback" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'feedback.label', default: 'Feedback')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-feedback" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-feedback" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list feedback">
			
				<g:if test="${feedbackInstance?.leftBy}">
				<li class="fieldcontain">
					<span id="leftBy-label" class="property-label"><g:message code="feedback.leftBy.label" default="Left By" /></span>
					
						<span class="property-value" aria-labelledby="leftBy-label"><g:link controller="user" action="show" id="${feedbackInstance?.leftBy?.id}">${feedbackInstance?.leftBy?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${feedbackInstance?.leftFor}">
				<li class="fieldcontain">
					<span id="leftFor-label" class="property-label"><g:message code="feedback.leftFor.label" default="Left For" /></span>
					
						<span class="property-value" aria-labelledby="leftFor-label"><g:link controller="user" action="show" id="${feedbackInstance?.leftFor?.id}">${feedbackInstance?.leftFor?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${feedbackInstance?.auction}">
				<li class="fieldcontain">
					<span id="auction-label" class="property-label"><g:message code="feedback.auction.label" default="Auction" /></span>
					
						<span class="property-value" aria-labelledby="auction-label"><g:link controller="auction" action="show" id="${feedbackInstance?.auction?.id}">${feedbackInstance?.auction?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${feedbackInstance?.availability}">
				<li class="fieldcontain">
					<span id="availability-label" class="property-label"><g:message code="feedback.availability.label" default="Availability" /></span>
					
						<span class="property-value" aria-labelledby="availability-label"><g:fieldValue bean="${feedbackInstance}" field="availability"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${feedbackInstance?.accuracy}">
				<li class="fieldcontain">
					<span id="accuracy-label" class="property-label"><g:message code="feedback.accuracy.label" default="Accuracy" /></span>
					
						<span class="property-value" aria-labelledby="accuracy-label"><g:fieldValue bean="${feedbackInstance}" field="accuracy"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${feedbackInstance?.communication}">
				<li class="fieldcontain">
					<span id="communication-label" class="property-label"><g:message code="feedback.communication.label" default="Communication" /></span>
					
						<span class="property-value" aria-labelledby="communication-label"><g:fieldValue bean="${feedbackInstance}" field="communication"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${feedbackInstance?.overallRating}">
				<li class="fieldcontain">
					<span id="overallRating-label" class="property-label"><g:message code="feedback.overallRating.label" default="Overall Rating" /></span>
					
						<span class="property-value" aria-labelledby="overallRating-label"><g:fieldValue bean="${feedbackInstance}" field="overallRating"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${feedbackInstance?.comment}">
				<li class="fieldcontain">
					<span id="comment-label" class="property-label"><g:message code="feedback.comment.label" default="Comment" /></span>
					
						<span class="property-value" aria-labelledby="comment-label"><g:fieldValue bean="${feedbackInstance}" field="comment"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${feedbackInstance?.formattedDateCreated}">
				<li class="fieldcontain">
					<span id="formattedDateCreated-label" class="property-label"><g:message code="feedback.formattedDateCreated.label" default="Formatted Date Created" /></span>
					
						<span class="property-value" aria-labelledby="formattedDateCreated-label"><g:fieldValue bean="${feedbackInstance}" field="formattedDateCreated"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${feedbackInstance?.dateCreated}">
				<li class="fieldcontain">
					<span id="dateCreated-label" class="property-label"><g:message code="feedback.dateCreated.label" default="Date Created" /></span>
					
						<span class="property-value" aria-labelledby="dateCreated-label"><g:fieldValue bean="${feedbackInstance}" field="dateCreated"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${feedbackInstance?.id}" />
					<g:link class="edit" action="edit" id="${feedbackInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
